package biz;

import dao.BookDao;
import dao.BookDaoImpl;
import pojo.Book;
import utils.Page;
import vo.BookVO;

import java.sql.SQLException;
import java.util.List;

public class BookServiceImpl implements BookService{
    BookDao bookDao = new BookDaoImpl<>();

    @Override
    public void getBooList(BookVO book, Page page) throws SQLException {
        bookDao.getBooList(book,page);
    }

    @Override
    public Integer modifyBook(Book book, String action) throws SQLException {
        return bookDao.modifyBook(book,action);
    }
}
